import 'package:provider/provider.dart';
import 'package:provider/single_child_widget.dart';
import 'package:state_manager/view_model/counter_view_model.dart';
import 'package:state_manager/view_model/user_info_view_model.dart';

import 'model/user_model.dart';

List<SingleChildWidget> providers = [
  ChangeNotifierProvider(create: (cxt) {
    return DBJCounterViewModel();
  }),
  ChangeNotifierProvider(create: (cxt) {
    return DBJUserInfoViewModel(DBJUserModel('Jack', 12, true, 'imageUrl'));
  }),
];
